<div class="livres index">
	<h2><?php echo __('Livres'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('titre'); ?></th>
			<th><?php echo $this->Paginator->sort('resume'); ?></th>
			<th><?php echo $this->Paginator->sort('date_de_sortie'); ?></th>
			<th><?php echo $this->Paginator->sort('date_insert'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ($livres as $livre): ?>
	<tr>
		<td><?php echo h($livre['Livre']['id']); ?>&nbsp;</td>
		<td><?php echo h($livre['Livre']['titre']); ?>&nbsp;</td>
		<td><?php echo h($livre['Livre']['resume']); ?>&nbsp;</td>
		<td><?php echo h($livre['Livre']['date_de_sortie']); ?>&nbsp;</td>
		<td><?php echo h($livre['Livre']['date_insert']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Voir'), array('action' => 'view', $livre['Livre']['id'])); ?>
			<?php echo $this->Html->link(__('Editer'), array('action' => 'edit', $livre['Livre']['id'])); ?>
			<?php echo $this->Form->postLink(__('Effacer'), array('action' => 'delete', $livre['Livre']['id']), array(), __('Are you sure you want to delete # %s?', $livre['Livre']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</tbody>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} sur {:pages}, enregistrement {:current} sur un total de {:count}, amorce sur le n° {:start}, finissant sur le  n° {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Livre'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Editions'), array('controller' => 'editions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Edition'), array('controller' => 'editions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Auteurs'), array('controller' => 'auteurs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Auteur'), array('controller' => 'auteurs', 'action' => 'add')); ?> </li>
	</ul>
</div>
